
::-webkit-scrollbar {
  width: 0;
  background: transparent;
}
.vui__overlay{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation-duration: 0.16s;
}
.round{
  border-radius: 10px 10px;
}
.vui__wrap{
  user-select: none;
  -webkit-user-drag: element;
  position: fixed;
  top: 35%;
  left: 50%;
  max-height: 100%;
  max-width: 100%;
  width: 320px;
  background-color: #fff;
  transform: translate3d(-50%, -50%, 0);
  backface-visibility: hidden;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-property: transform, opacity, -webkit-transform;
  -webkit-overflow-scrolling: touch;
  transform-origin: center center;
  animation-duration: .2s;
  &--center{
    width: 320px;
    top: 45%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    max-width: 90%;
  }
  &--top{
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: inherit;
    transform: translate3d(0, 0, 0);
    border-radius: 0;
    &.round{
      border-radius: 0 0 6px 6px;
    }
  }
  &--left{
    height: 100%;
    width: 60%;
    top: 50%;
    left: 0;
    transform: translate3d(0, -50%, 0);
    border-radius: 0;
    &.round{
      border-radius: 0 6px 6px 0;
    }
  }
  &--right{
    height: 70%;
    width: 60%;
    top: 50%;
    left: inherit;
    right: 0;
    transform: translate3d(0, -50%, 0);
    border-radius: 0;
    &.round{
      border-radius: 6px 0 0 6px;
    }
  }
  &--bottom{
    width: 100%;
    top: inherit;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translate3d(0, 0, 0);
    border-radius: 0;
    &.round{
      border-radius: 6px 6px 0 0;
    }
  }
}
.vui__wrap-tit{
  text-align: center;
  padding-top: 26px;
  font-weight: 500;
  line-height: 24px;
}
.vui__wrap{
  &-content{
    // display: flex;
    // align-items: center;
    // min-height: 40px;
    padding: 16px 0 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 80vh;
    overflow-y: auto;
    line-height: 20px;
    -webkit-overflow-scrolling: touch;
    &.vui__text-{
      &-left{
        text-align: left;
      }
      &-center{
        text-align: center;
      }
      &-right{
        text-align: right;
      }
    }
  }
  &-pt45{
    padding-top: 45px;
  }
  &-pt25{
    padding-top: 25px;
  }
  &-pt16{
    // padding-top: 16px;
    // padding-bottom: 16px;
  }
}
.vui__wrap-footer{
  display: flex;
  overflow: hidden;
  user-select: none;
  
  position: relative;
  height: auto;
  padding: 8px 24px 16px;
  &.round{
    .vui__btn{
      border-radius: 50px 50px;
    }
  }
  .vui__btn{
    flex: 1;
    line-height: 40px;
    margin: 0;
    border: 0;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    border-radius: 10px 10px;
    display: block;
    position: relative;
    margin: 0 10px;
    &::before {
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 100%;
      background-color: #000;
      border: inherit;
      border-color: #000;
      border-radius: inherit;
      -webkit-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      opacity: 0;
      content: ' ';
      transition: opacity 0.15s;
    }
    &:active{
      &::before {
        opacity: 0.1;
      }
    }
    &--danger {
      color: #fff;
      background: -webkit-linear-gradient(left, #ff6034, #ee0a24);
      background: linear-gradient(to right, #ff6034, #ee0a24);
    }
  }
}
.vui__xclose{
  position: absolute;
  display: block;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 10px 10px;
  transition: opacity 0.15s,background-color 0.15s,color 0.1s;
  svg{
    display: inline-block;
    width: 15px;
    height: 15px;
  }
  &:hover{
    color: rgb(240, 115, 13);
  }
  &.right{
    right: 15px;
    top: 10px;
    height: 28px;
    padding-bottom: 5px;
  }
  &.bottom{
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -70px;
    border-radius: 50px 50px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.popupui{
  &__bottom{
    padding-bottom: 30px;
  }
}

@keyframes popSlideIn{
  0%{opacity:0;transform:translate3d(-50%,-70%,0);visibility:visible}
  to{opacity:1;transform:translate3d(-50%, -50%,0)}
}
.popSlideIn{animation-name:popSlideIn}
@keyframes popSlideOut{
  0%{opacity:1;transform:translate3d(-50%, -50%,0);visibility:visible}
  to{opacity:0;transform:translate3d(-50%,-70%,0)}
}
.popSlideOut{animation-name:popSlideOut}

@keyframes popBounceIn{
  0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}
  0%{opacity:0;transform:scale3d(.8,.8,.8) translate(-50%, -50%)}
  33%{opacity:0;transform:scale3d(1.1,1.1,1.1) translate(-50%, -50%)}
  66%{transform:scale3d(.9,.9,.9) translate(-50%, -50%)}
  to{opacity:1;transform:scaleX(1) translate(-50%, -50%)}
}
.popBounceIn{transform-origin: left top;animation-name:popBounceIn}

@keyframes popBounceOut{
  20%{transform:scale3d(.9,.9,.9)}
  50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}
  to{opacity:0;transform:scale3d(.3,.3,.3)}
}
.popBounceOut{transform-origin: left top;animation-name:popBounceOut}


@keyframes popFadeIn{
  0%{opacity:0;transform:scale3d(1.1,1.1,1.1) translate(-50%, -50%)}
  to{opacity:1;transform:scaleX(1) translate(-50%, -50%)}
}
.popFadeIn{transform-origin: left top;animation-name:popFadeIn}
@keyframes popFadeOut{
  0%{opacity:1;transform:scale(1) translate(-50%, -50%)}
  to{opacity:0;transform:scale(.9) translate(-50%, -50%)}
}
.popFadeOut{transform-origin: left top;animation-name:popFadeOut}


@keyframes popSlideLeftIn{
  0%{opacity:1;transform:translate(-100%, -50%)}
  to{opacity:1;transform:translateX(0%, -50%)}
}
.popSlideLeftIn{animation-name:popSlideLeftIn}
@keyframes popSlideLeftOut{
  0%{opacity:1;transform:translate(0%, -50%)}
  to{opacity:1;transform:translate(-100%, -50%)}
}
.popSlideLeftOut{animation-name:popSlideLeftOut}

@keyframes popSlideRightIn{
  0%{opacity:1;transform:translate(100%, -50%)}
  to{opacity:1;transform:translate(0%, -50%)}
}
.popSlideRightIn{animation-name:popSlideRightIn}
@keyframes popSlideRightOut{
  0%{opacity:1;transform:translate(0%, -50%)}
  to{opacity:1;transform:translate(100%, -50%)}
}
.popSlideRightOut{animation-name:popSlideRightOut}

@keyframes popSlideBottomIn{
  0%{opacity:1;transform:translateY(100%)}
  to{opacity:1;transform:translateY(0%)}
}
.popSlideBottomIn{animation-name:popSlideBottomIn}
@keyframes popSlideBottomOut{
  0%{opacity:1;transform:translateY(0%)}
  to{opacity:1;transform:translateY(100%)}
}
.popSlideBottomOut{animation-name:popSlideBottomOut}

@keyframes popSlideTopIn{
  0%{opacity:1;transform:translateY(-100%)}
  to{opacity:1;transform:translateY(0%)}
}
.popSlideTopIn{animation-name:popSlideTopIn}
@keyframes popSlideTopOut{
  0%{opacity:1;transform:translateY(0%)}
  to{opacity:1;transform:translateY(-100%)}
}
.popSlideTopOut{animation-name:popSlideTopOut}

